<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@include file="/WEB-INF/page/share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/shop/css/vip.css" type="text/css">
<title>页面模块选择</title>
<script type="text/javascript">
function getDicName(dicId,strDicName){
	var objForm = document.forms[0];
	objForm.dicId.value = dicId;
	objForm.dicName.value = strDicName;
}
function checkIt(){
	var objForm = document.forms[0];
	var form = opener.document.forms[0];
	if (form){
		form.brandid.value = objForm.dicId.value;
		form.brandid2.value = objForm.dicName.value;
	}
	window.close();
}
</script><style>
<!--
.inputText{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666666;
	border: 1px solid #999999;
}
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	color: #666666;
}
-->
</style>

</head>
<body>
	<form action="" method="post">
	<input type="hidden" name="dicId" />
  <input type="hidden" name="dicName"/>
	<table>
		<tr>
			<td>
				<%@include file="/WEB-INF/page/share/fenye.jsp" %>
			</td>
		</tr>
		<tr>
		<c:forEach var="module" items="${requestScope.pageView}" varStatus="loop">
			<td><INPUT TYPE="radio" NAME="type" onclick="getDicName('${module.modulId}','${module.name}')">${module.name }</td>
			<c:if test="${loop.count %5==0}"></tr><tr></c:if>
		</c:forEach>
		</tr>
		<tr>
		<td colspan="2" align="center">
			<input type='button' name='create' value=" 确 认 " onClick="javascript:checkIt()" />
			<input type='button' name="cancel" onClick="javaScript:window.close()" value=" 取 消 " /> 
		</td>
		</tr>
	</table>
	</form>
</body>
</html>